[INFO] cloning repository https://github.com/SamuelMarks/rust-playground
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SamuelMarks/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamuelMarks%2Frust-playground", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamuelMarks%2Frust-playground'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 436a6d87e5ee54c7b48bcfd6bb0a9f75c2ba9273
[INFO] building SamuelMarks/rust-playground against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamuelMarks%2Frust-playground" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/SamuelMarks/rust-playground on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/SamuelMarks/rust-playground
[INFO] finished tweaking git repo https://github.com/SamuelMarks/rust-playground
[INFO] tweaked toml for git repo https://github.com/SamuelMarks/rust-playground written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/SamuelMarks/rust-playground already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 269b3f56d39e8412ba9958f3526efe5093fd24c64d18dbe90f2f5821728aab6a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "269b3f56d39e8412ba9958f3526efe5093fd24c64d18dbe90f2f5821728aab6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "269b3f56d39e8412ba9958f3526efe5093fd24c64d18dbe90f2f5821728aab6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "269b3f56d39e8412ba9958f3526efe5093fd24c64d18dbe90f2f5821728aab6a", kill_on_drop: false }`
[INFO] [stdout] 269b3f56d39e8412ba9958f3526efe5093fd24c64d18dbe90f2f5821728aab6a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1533b8c4000ec3ac1cca6383804e82b81abff169b2b7e98bf2f5c8050cbec2ba
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1533b8c4000ec3ac1cca6383804e82b81abff169b2b7e98bf2f5c8050cbec2ba", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling serde v1.0.81
[INFO] [stderr]    Compiling proc-macro2 v0.4.24
[INFO] [stderr]    Compiling quote v0.6.10
[INFO] [stderr]    Compiling syn v0.15.22
[INFO] [stderr]    Compiling serde_derive v1.0.81
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling rust-playground v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `core`?
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use core::num::ParseIntError;
[INFO] [stdout]    |     ^^^^ maybe a missing crate `core`?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ParseIntError` in this scope
[INFO] [stdout]   --> src/main.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 |     type Err = ParseIntError;
[INFO] [stdout]    |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  | use std::num::ParseIntError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/main.rs:53:32
[INFO] [stdout]    |
[INFO] [stdout] 53 |     #[serde(deserialize_with = "string_or_struct")]
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the function `string_or_struct`
[INFO] [stdout] ...
[INFO] [stdout] 74 | fn string_or_struct<'de, T, D>(deserializer: D) -> Result<Option<Script>, D::Error>
[INFO] [stdout]    |    ---------------- required by a bound in this
[INFO] [stdout] 75 | where
[INFO] [stdout] 76 |     T: Deserialize<'de> + FromStr<Err = Void>,
[INFO] [stdout]    |        ---------------- required by this bound in `string_or_struct`
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `_: Deserialize<'_>`
[INFO] [stdout] help: consider specifying the type arguments in the function call
[INFO] [stdout]    |
[INFO] [stdout] 53 |     #[serde(deserialize_with = "string_or_struct"::<'de, T, D>)]
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::option::Option<Script>: FromStr` is not satisfied
[INFO] [stdout]    --> src/main.rs:115:18
[INFO] [stdout]     |
[INFO] [stdout] 115 |     deserializer.deserialize_any(StringOrStruct(PhantomData))
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ the trait `FromStr` is not implemented for `std::option::Option<Script>`
[INFO] [stdout]     |
[INFO] [stdout] note: required because of the requirements on the impl of `Visitor<'de>` for `StringOrStruct<std::option::Option<Script>>`
[INFO] [stdout]    --> src/main.rs:86:18
[INFO] [stdout]     |
[INFO] [stdout] 86  |     impl<'de, T> Visitor<'de> for StringOrStruct<T>
[INFO] [stdout]     |                  ^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-playground`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "1533b8c4000ec3ac1cca6383804e82b81abff169b2b7e98bf2f5c8050cbec2ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1533b8c4000ec3ac1cca6383804e82b81abff169b2b7e98bf2f5c8050cbec2ba", kill_on_drop: false }`
[INFO] [stdout] 1533b8c4000ec3ac1cca6383804e82b81abff169b2b7e98bf2f5c8050cbec2ba
